package com.sxs.dao;

import java.util.List;
import java.util.Map;

import com.sxs.model.Per_user;
import com.sxs.model.Per_user_education;
import com.sxs.model.Per_user_note;
import com.sxs.model.Per_user_vacancies;

public interface PersonalAddDaoInterface {
	
	/**
	 * 员工基本信息表添加
	 * @param perUser
	 * @return
	 */
	public int getAddUser(Per_user perUser);
	
	
	/**
	 * 员工职位情况表添加
	 * @param perUserVacancies
	 */
	public int getAddUserVacancies(Per_user_vacancies perUserVacancies);
	
	/**
	 * 员工职位情况表添加
	 * @param perUserEducation
	 */
	public int getAddUserEducation(Per_user_education perUserEducation);
	
	/**
	 * 员工信息备注表添加
	 * @param perUserNote
	 */
	public int getAddUserNote(Per_user_note perUserNote);
	
	/**
	 * 查询用户基本信息
	 * @return
	 */
	public Map<String,Object> getSelectUser(String userId);
	
	/**
	 * 修改员工基本信息表
	 * @param perUser
	 */
	public void getUpdateUser(Per_user perUser);
	
	/**
	 * 修改员工职位情况表
	 * @param perUserVacancies
	 */
	public void getUpdateUserVacancies(Per_user_vacancies perUserVacancies);
	
	/**
	 * 修改员工职位情况表
	 * @param perUserEducation
	 */
	public void getupdateUserEducation(Per_user_education perUserEducation);
	
	/**
	 * 修改员工信息备注表
	 * @param perUserNote
	 */
	public void getupdateUserNote(Per_user_note perUserNote);
	
	/**
	 * 查询用户列表
	 * @param deptId
	 * @return
	 */
	public List<Map<String,Object>> getSelectListUser(String deptId);
	
	/**
	 * 删除用户
	 * @param userId
	 */
	public void getDeleteUser(String userId);
}
